<include file="Public:head" />
<body>
<div id="body-wrapper">
  <div id="sidebar">
    <div id="sidebar-wrapper">
		<include file="Public:left-nav" />
    </div>
  </div>
  <!-- End #sidebar -->
  <style type="text/css">
	body{color:#000;}
  </style>
  <div id="main-content">
    <include file="Public:rbac-nav"/>
	 <div class="clear"></div>
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h4>添加权限</h4>
      </div>
<STYLE type="text/css">
	 td{text-align:right;}
	.right{text-align:left;}
</STYLE>
<div class="content-box-content">
        <div class="tab-content default-tab">
		<form method="post" action="{:U('Rbac/addNodeHandle')}">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody>
			<tr>
                <td >英文名称：</td>
				<td class="right"><INPUT type="text" name="name"></td>
			 </tr>
			 <tr>
                <td>显示中文名称：</td>
				<td class="right"><INPUT type="text" name="title"></td>
			 </tr>
			 <tr>
                <td>状态：</td>
				<td class="right"><INPUT type="radio" name="status" value="1" checked>启用 <INPUT type="radio" name="status" value="0">禁用</td>
			 </tr>
			 <tr>
                <td >类型：</td>
				<td class="right">
							<SELECT name="level">
								<OPTION value="1" selected>项目
								<OPTION value="2">模块
								<OPTION value="3">操作
							</SELECT>
				</td>
			 </tr>
			 <tr>
                <td >父节点：</td>
				<td class="right">
							<select name="pid">
								<option value="0" selected>根节点
								<volist name="node" id="vo">
								<if condition="$vo.level eq 1"><option value="{$vo.id}">{$vo.title}</option><else/><option value="{$vo.id}">&nbsp;&nbsp;|--{$vo.title}</option></if>
								</volist>
							</select>
				</td>
			 </tr>
			 <tr>
                <td >排序：</td>
				<td class="right"><INPUT type="text" name="sort"></td>
			 </tr>
			 <tr>
                <td>&nbsp;</td>
				<td class="right"><INPUT type="submit" value="提交添加" style="padding:5px 20px;"></td>
			 </tr>
            </tbody>
          </table>
		</form>
        </div>
      </div>
      <!-- End .content-box-content -->
    </div>
    <div id="footer"> <small>
      &#169;腾驹达后台 2013| Powered by <a href="#">admin</a> | <a href="#">Top</a> </small> 
	  </div>
    <!-- End #footer -->
  </div>
  <!-- End #main-content -->
</div>
<!-- End #body-wrapper-->
</body>
</html>
